using System;
using System.ComponentModel;
using Csla;
using lite;
using Csla.Validation;
using Csla.Data;
using System.Data.SqlClient;
using OpenExpressApp.ORM;
namespace ZX.EHR.Library
{
	[Serializable]
    [Table(Name = "salSalaryRelationTable")]
    [ZX.DBModule.Table("salSalaryRelationTable", "ID")]
    public class salSalaryRelationTable : ZX.DBModule.BaseEntity
	{
		public salSalaryRelationTable()
		{

		}

        private System.String _Name;
		[Column]
        public System.String Name
		{
            get { return _Name; }
            set { _Name = value; }
		}

        private System.String _YearMonthField;
		[Column]
        public System.String YearMonthField
		{
            get { return _YearMonthField; }
            set { _YearMonthField = value; }
		}

        private System.String _TableName;
        [Column]
        public System.String TableName
        {
            get { return _TableName; }
            set { _TableName = value; }
        }

        private System.String _Notes;
		[Column]
        public System.String Notes
		{
            get { return _Notes; }
            set { _Notes = value; }
		}

		private System.DateTime _AddTime;
		[Column]
		public System.DateTime AddTime
		{
 			get { return _AddTime; }
			set { _AddTime = value; }
		}

		private System.Guid _AddUser;
		[Column]
		public System.Guid AddUser
		{
 			get { return _AddUser; }
			set { _AddUser = value; }
		}

        private System.Guid _ID;
        [Column]
        public System.Guid ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
	}
}
